package org.example.completed.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 帖子表
 * </p>
 *
 * @author ${author}
 * @since 2025-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("post")
public class Post implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String userAcoount;

    private String content;

    private String imageUrl;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String avatarUrl;

    private String userId;
}
